<%@page contentType="text/html;charset=UTF-8"%> 
<!DOCTYPE html>
<html>

<head>
<title>国信公共服务索引</title>
<jsp:include page="../common/static.jsp"></jsp:include>
<script charset="utf-8" src="<%=static_url %>/ke/kindeditor-min.js"></script>
<script charset="utf-8" src="<%=static_url %>/ke/lang/zh_CN.js"></script>
<script>
KindEditor.ready(function(K) {
	K.each({ 
		'plug-align' : {
			name : '对齐方式',
			method : {
				'justifyleft' : '左对齐',
				'justifycenter' : '居中对齐',
				'justifyright' : '右对齐'
			}
		},
		'plug-order' : {
			name : '编号',
			method : {
				'insertorderedlist' : '数字编号',
				'insertunorderedlist' : '项目编号'
			}
		},
		'plug-indent' : {
			name : '缩进',
			method : {
				'indent' : '向右缩进',
				'outdent' : '向左缩进'
			}
		}
	},function( pluginName, pluginData ){
		var lang = {};
		lang[pluginName] = pluginData.name;
		KindEditor.lang( lang );
		KindEditor.plugin( pluginName, function(K) {
			var self = this;
			self.clickToolbar( pluginName, function() {
				var menu = self.createMenu({
						name : pluginName,
						width : pluginData.width || 100
					});
				K.each( pluginData.method, function( i, v ){
					menu.addItem({
						title : v,
						checked : false,
						iconClass : pluginName+'-'+i,
						click : function() {
							self.exec(i).hideMenu();
						}
					});
				})
			});
		});
	});
	K.create('#contentqq', {
		themeType : 'qq',
		items : [
			'bold','italic','underline','fontname','fontsize','forecolor','hilitecolor','plug-align','plug-order','plug-indent','link'
		]
	});
});
</script>

</head>
<body> 
	<jsp:include page="../common/nav.jsp"></jsp:include>

	<div class="container">
		<jsp:include page="nav.jsp"></jsp:include> 

		<textarea id="contentqq" name="content" style="width:900px;height:300px;visibility:hidden;"></textarea>
	
	</div> 
</body>
</html>